package com.ctgu.springstart.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "test")
@PropertySource({"classpath:application.yml"})
@Setter
@Getter
public class ServerSettings {

//    @Value("${test.name}")
    private String name;

//    @Value("${test.domain}")
    private String domain;
}
